package net.stogi.unicore.beyond.ui.shared.common.action.model;

import java.util.List;

import net.stogi.common.gwt.dispatch.shared.core.Result;
import net.stogi.unicore.beyond.api.model.TaskDefinition;

public class LoadTaskDefinitionsResult implements Result {

	private static final long serialVersionUID = 8646347287451945938L;

	private List<TaskDefinition> taskDefinitions;

	public LoadTaskDefinitionsResult(List<TaskDefinition> taskDefinitions) {
		this.taskDefinitions = taskDefinitions;
	}

	@SuppressWarnings("unused")
	private LoadTaskDefinitionsResult() {}

	public List<TaskDefinition> getTaskDefinitions() {
		return taskDefinitions;
	}

	public void setTaskDefinitions(List<TaskDefinition> taskDefinitions) {
		this.taskDefinitions = taskDefinitions;
	}
}
